<?php
/**
* @file MessageType.php
* Copyright (c) Friends Group. All rights reserved.
* $Id$
*
*/

require_once(realpath(dirname(__FILE__)) . '/../classes/BaseObject.php');

class MessageType extends BaseObject 
{

    /**
     * @AttributeType int
     */
    protected $ID;

    /**
     * @AttributeType String
     * Loại thông điệp, gồm 1 số loai như: Normal, Warn, Alert....
     */
    protected $messageType;

    public function __construct($messageType = "")
    {
        $this -> messageType = $messageType;
    }
    
    /**
     * @ParamType iD int
     */
    public function setID($ID) 
    {
        $this->ID = $ID;
    }

    /**
     * @ReturnType int
     */
    public function getID() 
    {
        return $this->ID;
    }

    /**
     * @ParamType messageType String
     */
    public function setMessageType($messageType) 
    {
        $this->messageType = $messageType;
    }

    /**
     * @ReturnType String
     */
    public function getMessageType() 
    {
        return $this->messageType;
    }
}
?>